<!DOCTYPE html>
<html>
<head>
	<!-- Google Tag Manager -->
	<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
	new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
	j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
	'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
	})(window,document,'script','dataLayer','GTM-W8KNPT4');</script>
	<!-- End Google Tag Manager -->
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width,inital-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
	<meta name="format-detection" content="telephone=no">
    <title>博猫体育</title>
    <link rel="stylesheet" href="css/app.min.css?ver=1.0.000">
    <link rel="stylesheet" href="css/iconfont.css?ver=1.0.000">
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
    <script src="js/pageLib.js"></script>
</head>
<body>
<div class="header">
	<div class="nav">
		<div class="title">支付成功</div>
		<!-- <a href="sporttery.html" class="left-btn"><i class="iconfont icon-xitongfanhui icon-middle"></i></a> -->
		<!-- <div class="right-btn">登录 / 注册</div> -->
		<!-- <div class="right-btn">
			<div class="login flexer">
				<div class="balance">
					<div>余额</div>
					<div>￥888.88</div>
				</div>
				<div class="deposit"><a href="javascript:;">充值</a></div>
			</div>
		</div> -->
	</div>
</div>
<div class="table-content" style="padding-top:50px;padding-bottom:120px;">
	<div class="result-container" id="success-panel">
		<div class="result success">恭喜你，支付成功！</div>
		<div class="result-intro">订单正在送往投注站...</div>
		<div class="status-desc">可通过订单详情查看订单状态</div>
		<div class="control flexer -between">
			<a class="btn-to-order" href="order-details.html">订单详情</a>
			<a class="btn-to-play red" href="sporttery.html">继续购买</a>
		</div>
	</div>
	<div class="result-container" id="failed-panel" style="display:none;">
		<div class="result failed">支付失败</div>
		<div class="status-desc">这里是具体的失败原因</div>
		<div class="control flexer -between">
			<a href="orders-list.html">查看购彩记录</a>
			<a href="sporttery.html" class="btn-to-play red">继续购买</a>
		</div>
	</div>
</div>

</body>
<script type="text/javascript">

$(document).ready(function(){
	var queryArgsList=pageLib.getQueryArgs(window.location.href);
	console.log(queryArgsList);
	if(queryArgsList.status=='success'){
		$('#success-panel').show();
		$('#failed-panel').hide();
		$('#success-panel .btn-to-order').attr('href','order-details.html?order_no='+queryArgsList.order_no);
	}
});
</script>
</html>